﻿using System.Collections.Generic;
using BLL.Services.WikiPages.Listing;

namespace BLL.Services.WikiPages
{
    public interface IWikiPageService
    {
        WikiPageListing GetWikiPageListing(
           int page, int size, string column, int direction, WikiPageFilter filter);

        WikiPage GetById(int wikiPageId);

        WikiPage GetByPublicUrl(string publicUrl);

        void Create(WikiPage model);

        void Save(WikiPage model);

        void Delete(int pageId);

        IEnumerable<WikiPage> GetSomePagesByWikiCategory(
            string wikiCategoryName, string sortOption, int sortDirection, int page = 1, int size = 12);
    }
}
